package com.xmg.boot.demo.bootlesson1.user.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ma
 * @date 2023/11/15
 * @description
 */

@Data
@TableName(value="t_user")
public class User implements Serializable {
    @TableId(value="id",type= IdType.AUTO)
    private Long id;
    private String userName;
    private String userGender;
    private int userAge;
}
